/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "设备详细",TableName = "Mechanica_xx")]
    public partial class Mechanica_xx:BaseEntity
    {
        /// <summary>
       ///
       /// </summary>
       [Key]
       [Display(Name ="id")]
       [Column(TypeName="int")]
       [Required(AllowEmptyStrings=false)]
       public int id { get; set; }

       /// <summary>
       ///设备名称
       /// </summary>
       [Display(Name ="设备名称")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string sbmc { get; set; }

       /// <summary>
       ///设备编码
       /// </summary>
       [Display(Name ="设备编码")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string sbbm { get; set; }

       /// <summary>
       ///设备型号
       /// </summary>
       [Display(Name ="设备型号")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string sbxh { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="sbtp")]
       [MaxLength(1000)]
       [Column(TypeName="nvarchar(1000)")]
       [Editable(true)]
       public string sbtp { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="record_id")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? record_id { get; set; }

       /// <summary>
       ///设备图片1
       /// </summary>
       [Display(Name ="设备图片1")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string sbtp1 { get; set; }

       /// <summary>
       ///设备图片2
       /// </summary>
       [Display(Name ="设备图片2")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string sbtp2 { get; set; }

       
    }
}